using System;

namespace Qplus.protocol
{

    /**
     * 
     * 离开房间应答
     *
     */
    public class U2C_RESP_LEAVE_ROOM : InPacket
    {

        /**
         * 房间号码
         */
        private long roomID;
        /**
         * 结果
         */
        private int result;


        protected override void parseBody(byte[] data, int offset, int count)
        {
            setRoomID(get4(data));
            result = get1(data);
        }

        public int getResult()
        {
            return result;
        }

        public void setResult(int result)
        {
            this.result = result;
        }



        public long getRoomID()
        {
            return roomID;
        }



        public void setRoomID(long roomID)
        {
            this.roomID = roomID;
        }

    }
}
